import {
    combineReducers
} from 'redux';
import productsReducer from './products-reducer';
import cartReducer from './cart-reducer';
import countReducer from './countReducer';

const allReducers = {
    products: productsReducer,
    shoppingCart: cartReducer,
    counts: countReducer 
}

const rootReducer = combineReducers(allReducers);

export default rootReducer;